package com.bdzl.admin.service.sys.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bdzl.admin.dao.sys.PermittedBankDao;
import com.bdzl.pub.entity.sys.PermittedBankDO;
import com.bdzl.admin.service.sys.PermittedBankService;



@Service
public class PermittedBankServiceImpl implements PermittedBankService {
	@Autowired
	private PermittedBankDao permittedBankDao;
	
	@Override
	public PermittedBankDO get(Integer pbId){
		return permittedBankDao.get(pbId);
	}
	
	@Override
	public List<PermittedBankDO> list(Map<String, Object> map){
		return permittedBankDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return permittedBankDao.count(map);
	}
	
	@Override
	public int save(PermittedBankDO permittedBank){
		return permittedBankDao.save(permittedBank);
	}
	
	@Override
	public int update(PermittedBankDO permittedBank){
		return permittedBankDao.update(permittedBank);
	}
	
	@Override
	public int remove(Integer pbId){
		return permittedBankDao.remove(pbId);
	}
	
	@Override
	public int batchRemove(Integer[] pbIds){
		return permittedBankDao.batchRemove(pbIds);
	}
	
}
